PublishPress\Future\Modules\Workflows\Models\WorkflowModel D

Total Complexity 146
Dependencies 14
Dependents 12
Total lines 890
Lines of code 579
Logical lines of code 303
Comment lines 27
Methods 56
Properties 13

Methods 56

Method Rating Maintainability Complexity Lines of code
getFlow()
A
51 9 28
getRoutineNodesTree()
A
46 8 42
getTriggerNodes()
S
57 6 19
getStepFromRoutineTreeRecursively()
S
58 6 16
getRoutineTree()
S
53 5 26
getNodes()
S
53 5 24
updateDebugRayMetadata()
S
56 5 22
convertDynamicHandlesToStatic()
S
55 5 18
getNodeById()
S
58 5 17
createNew()
S
52 4 26
getManualSelectionTrigger()
S
62 4 12
checkHasTriggerInTheFlow()
S
62 4 12
isDebugRayShowQueriesEnabled()
S
62 3 13
isDebugRayShowCurrentRunningStepEnabled()
S
62 3 13
isDebugRayShowEmailsEnabled()
S
62 3 13
isDebugRayShowWordPressErrorsEnabled()
S
62 3 13
updateLegacyActionMetadata()
S
63 3 11
getPartialRoutineTreeFromNodeId()
S
63 3 11
getManualSelectionLabel()
S
64 3 10
hasLegacyActionTrigger()
S
65 3 9
getEdges()
S
65 3 10
load()
S
65 3 9
getAllNodeTypesByType()
S
65 3 10
isNodeUpdated()
S
66 2 8
updateStep()
S
67 2 8
getStepTypeByname()
S
66 2 8
isActive()
S
71 2 6
getPostProperty()
S
72 2 6
getTitle()
S
72 2 6
setTitle()
S
71 2 6
setDescription()
S
71 2 6
publish()
S
66 2 9
unpublish()
S
70 2 7
setStatus()
S
71 2 6
updateManualSelectionMetadata()
S
67 2 8
save()
S
67 2 9
delete()
S
67 2 8
createCopy()
S
59 1 14
reset()
S
64 1 11
getUnstranslatedString()
S
68 1 7
getPostPropertyAsInt()
S
76 1 4
getPostPropertyAsString()
S
76 1 4
getId()
S
80 1 3
setFlow()
S
73 1 5
getDescription()
S
80 1 3
setDebugRayShowCurrentRunningStep()
S
81 1 3
getModifiedAt()
S
80 1 3
setDebugRayShowWordPressErrors()
S
81 1 3
setDebugRayShowEmails()
S
81 1 3
setDebugRayShowQueries()
S
81 1 3
getStatus()
S
80 1 3
getStepVersion()
S
78 1 3
checkHasManualSelectionTriggerInTheFlow()
S
80 1 3
checkHasLegacyActionTriggerInTheFlow()
S
80 1 3
getImageDimensionsBySize()
S
65 1 9
__construct()
S
68 1 7